package com.example.decorator;

/**
 * @version 1.0.0
 * @className: Bread
 * @description:
 * @author: rosszhang
 * @date: 2022/5/13 9:51
 */
public class Bread extends Food {
    private Food basicFood;

    public Bread(Food basicFood) {
        this.basicFood = basicFood;
    }

    @Override
    public String make() {
        return basicFood.make()+"+面包";
    }
}
